package thread.demo.concurrentMap;

import java.util.concurrent.ConcurrentHashMap;

public class ConcurrentMapTest001_Put {
  public static void main(String[] args) {
    ConcurrentHashMap<String, String> map = new ConcurrentHashMap<>();
    map.put("1", "1");
    map.put("2", "2");
    map.put("3", "3");
    
    ConcurrentHashMap<String, String> map1 = new ConcurrentHashMap<>();
    map1.putAll(map);
  }
}
